	diag_log Format["(%1)[%2]: %3",diag_tickTime,"chernarus.common.sqf","Starting Chernarus map common config"];
	private ["_cher_boxes","_cher_civ","_cher_lift"];
	
	// position of the player ammobox at base (created only on the players computer, refilled every 20 minutes)
	// d_player_ammobox_pos =[[4709,10233,0],320];
	d_player_ammobox_pos =[[[5172.87,2336.49,0],27]];
	// Position of the second ammobox in case we ask both boxes
	// d_second_ammobox_pos =[[4713.5,10236,0],320];
	d_second_ammobox_pos =[[[5177.89,2333.23,0],27]];

	d_backpacks_stack = [[[2966.25,6540.17,0],0]];
	
	// this vehicle will be created if you use the "Create XXX" at a mobile respawn (old "Create Motorcycle") or at a jump flag
	d_create_bike = switch (d_own_side) do {
		case "WEST": {["MMT_USMC","M1030"]};
		case "EAST": {["MMT_Civ","TT650_Civ"]};
		case "GUER": {["M1030"]};
	};

	d_current_truck_cargo_array = [];
	// d_check_ammo_load_vecs
	// the only vehicles that can load an ammo box are the transport choppers and MHQs__
	d_check_ammo_load_vecs = switch (d_own_side) do {
		case "WEST": {["M1126_ICV_M2_EP1","M1126_ICV_mk19_EP1","M1128_MGS_EP1","M1129_MC_EP1","M1130_CV_EP1","M1133_MEV_EP1","M1135_ATGMV_EP1","LandRover_Special_CZ_EP1","BAF_Jackal2_L2A1_D","BAF_Jackal2_GMG_D","BAF_Jackal2_L2A1_W","BAF_Jackal2_GMG_W","LAV25_HQ","LAV25","MH60S","UH1Y","AH6J_EP1","AH6X_EP1","MH6J_EP1","CH_47F_EP1","UH60M_EP1","UH60M_MEV_EP1"]};
		case "EAST": {["V3S_TK_EP1","BTR40_MG_TK_GUE_EP1","BTR40_MG_TK_INS_EP1","BTR40_TK_GUE_EP1","BTR40_TK_INS_EP1","","BRDM2_HQ_TK_GUE_EP1","BRDM2_TK_EP1","BRDM2_TK_GUE_EP1","BTR60_TK_EP1","BTR90","BTR90_HQ","Mi17_Ins","Mi17_rockets_RU","Mi17_TK_EP1","UH1H_TK_EP1","Mi24_D_TK_EP1","Mi17_TK_EP1"]};
		case "GUER": {["V3S_TK_GUE_EP1","Offroad_DSHKM_TK_GUE_EP1","Offroad_SPG9_TK_GUE_EP1","Pickup_PK_TK_GUE_EP1","V3S_Gue","Mi17_Ins","UH1H_TK_GUE_EP1"]};
	};
	
	// chopper varname, type (0 = lift chopper, 1 = wreck lift chopper, 2 = normal chopper), marker name, unique number (same as in init.sqf), marker type, marker color, marker text, chopper string name
	d_choppers = [
		["HR1",2,"chopper1",301,"n_air","ColorWhite","AH64D","AH-64D"], ["HR2",2,"chopper2",302,"n_air","ColorWhite","AH1Z","AH-1Z"],
		["HR3",0,"chopper3",303,"n_air","ColorWhite","Lift One","Lift One"], ["HR4",0,"chopper4",304,"n_air","ColorWhite","Lift Two","Lift Two"],
		["HR5",2,"chopper5",305,"n_air","ColorWhite","UH1Y","UH-1Y"], ["HR6",2,"chopper6",306,"n_air","ColorWhite","UH1Y","UH-1Y"],
		["AP1",2,"airplane1",401,"n_plane","ColorWhite","A10","A-10"], ["AP2",2,"airplane2",402,"n_plane","ColorWhite","F-35","F-35B"],
		["AP3",2,"airplane3",403,"n_plane","ColorWhite","C-130","C-130J"]
	];

	// vehicle varname, unique number (same as in init.sqf), marker name, marker type, marker color, marker text, vehicle string name
	d_p_vecs = [
		["MRR1",0,"mobilerespawn1","HQ","ColorYellow","MHQ One","MHQ One"],["MRR2",1,"mobilerespawn2","HQ","ColorYellow","MHQ Two","MHQ Two"],
		["MEDVEC",10,"medvec","n_med","ColorGreen","Med","M"],
		["TR1",20,"truck1","n_maint","ColorGreen","","R1"], ["TR2",21,"truck2","n_support","ColorGreen","","F1"],
		["TR3",22,"truck3","n_support","ColorGreen","","A1"],
		["TR4",30,"truck4","n_service","ColorGreen","","E1"],
		["TR5",40,"truck5","n_support","ColorGreen","","T1"], ["TR6",41,"truck6","n_support","ColorGreen","","T2"],
		["AR1",42,"armor1","n_armor","ColorBlue","AAV","AR1"],
		["AR2",43,"armor2","n_armor","ColorBlue","Tusk One","AR2"], ["AR3",44,"armor3","n_armor","ColorBlue","Tusk Two","AR3"],
		["CR1",46,"car1","n_motor_inf","ColorOrange","","C1"], ["CR2",47,"car2","n_motor_inf","ColorOrange","","C2"],
		["CR3",48,"car3","n_motor_inf","ColorOrange","","C3"], ["CR4",49,"car4","n_motor_inf","ColorOrange","","C4"],
		["CR5",50,"car5","n_motor_inf","ColorOrange","","C5"], ["CR6",51,"car6","n_motor_inf","ColorOrange","","C6"],
		["MR1",52,"moto1","n_inf","ColorOrange","","M1"], ["MR2",53,"moto2","n_inf","ColorOrange","","M2"],
		["MR3",54,"moto3","n_inf","ColorOrange","","M3"], ["MR4",55,"moto4","n_inf","ColorOrange","","M4"],
		["ST1",56,"mortar1","n_mortar","ColorOrange","","S1"],["ST2",57,"mortar2","n_mortar","ColorOrange","","S2"],
		["ST3",58,"cannon1","n_art","ColorOrange","Arty One","S3"],["ST4",59,"cannon2","n_art","ColorOrange","Arty Two","S4"],
		["BT1",60,"boat1","n_inf","ColorBlue","Boat","B1"],["BT2",61,"boat2","n_inf","ColorBlue","Boat","B2"],
		["BT3",62,"boat3","n_inf","ColorBlue","Boat","B3"],["BT4",63,"boat4","n_inf","ColorBlue","Boat","B4"]
	];

	// Vehicles which can be lifted by the Dom lift script and by the Arty And Log
	if (isnil "d_helilift1_types") then { d_helilift1_types = []; };
	_cher_lift = switch (d_own_side) do {
		case "WEST": {[]};
		case "EAST": {[]};
		case "GUER": {[]};
	};
	if (count _cher_lift > 0) then {d_helilift1_types = [d_helilift1_types, _cher_lift] call XfarrayPushStack};

	// d_crew_E = ["RU_Soldier_Crew"];
	// d_crew_W = ["USMC_Soldier_Crew"];
	// d_crew_G = ["GUE_Soldier_CO"];
	// d_crew_C = ["Worker1"];

/// @CONFIGARRAY
/// @NAME IslandSectors
/// @DESC Contains all possible sectors on the island where enemy/missions can spawn
/// @PACKAGE ChernarusMap
/// @COLUMN Type Scalar The type of sector. 0 = Mission zones, 1 = Random Spawn
/// @COLUMN Shape Shape The shape of the sector presented in a ShapeArray
/// @COLUMN DisplayName String The name which can be displayed inside the mission messages and so on
/// @COLUMN UniqueName String The name used to create Triggers, Variables, Markers and so on. Cannot contain whitespaces!
/// @COLUMN Width Scalar The width of the sector
/// @COLUMN Height Scalar The height of the sector
/// @COLUMN Angle Scalar The angle of the sector zone
/// @COLUMN Rectangle Boolean Whether it is a rectangle (True) or a Circle
/// @REMARK Map Specific! Check the right package!
/// @EXAMPLE 
d_map_sectors = [
	[0,[[[7465.57,10956.9,0],14000,7200,0,true]],"North Chernarus","NorthChernarus"],
	[0,[[[7270.11,4646.83,0],13600,6000,0,true]],"South Chernarus","South Chernarus"],
	[1,[[[7465.57,10956.9,0],14000,7200,0,true]],"North Chernarus","NorthChernarus"],
	[1,[[[7270.11,4646.83,0],13600,6000,0,true]],"South Chernarus","South Chernarus"]
];


/// @CONFIGARRAY
/// @NAME MapLocations
/// @DESC Contains all possible MapLocation on the map, those are of course map specific.
/// @PACKAGE ChernarusMap
/// @COLUMN Position Position Where the element is located
/// @COLUMN DisplayName String The name which can be displayed inside the mission messages and so on
/// @COLUMN UniqueName String The name used to create Triggers, Variables, Markers and so on. Cannot contain whitespaces!
/// @COLUMN Size Scalar The size of the zone @DEFAULT = 200
/// @COLUMN Type Scalar The type of the zone. Can be any of the following: <ul><li>0= Town</li><li>1= Village</li><li>2= Lonely Building</li><li>3= Special Site (radio tower, casltes, etc) This will disable civilian spawn</li><li>4= Military Site (camp, airbase, etc) This will disable civilian spawn</li><li>5= Industrial Site. Enables more trucks spawn</li><li>6= Grassland (out of towns and mostly tree free)</li><li>7= Forest (inside a forest without much buildings)</li><li>8= Beach (on a coast without much buildings)</li><li>9=Island Town (only reachable by sea)</li><li>10=Mountains / Big hills</li><li>10=Airports/Heliports</li></ul>
/// @COLUMN MissionSector Scalar The map is divided in several MapSections (for the mission framework). This is the index the location belongs to.
/// @COLUMN CivilDensity Scalar A value between 0 and 1 indicating the density of civilian to spawn in regards to this location type maximum value.
/// @COLUMN RoadBlock Boolean Indicates whether the roads at the edge of the zone circle can be blocked by RandomRoadBlocks
/// @COLUMN AEGSection Array And array giving the section and index in this section the zone belongs to in the AEG scripts.
/// @REMARK Map Specific! Check the right package!
/// @EXAMPLE 
//         0= Town
//         1= Village
//         2= Lonely Building
//         3= Special Site (radio tower, casltes, etc) This will disable civilian spawn
//         4= Military Site (camp, airbase, etc) This will disable civilian spawn
//         5= Industrial Site. Enables more trucks spawn
//         6= Grassland (out of towns and mostly tree free)
//         7= Forest (inside a forest without much buildings)
//         8= Beach (on a coast without much buildings)
//         9= Island Town (only reachable by sea)
//         10= Mountain
//         11= Airport site
d_map_locations = [
	[[2759.65,9939.8,0],"Lopatino","Lopatino",210,0,0,1,True,[0,0]],
	[[3810.33,8905.63,0],"Vybor","Vybor",210,0,0,1,True,[0,0]],
	[[3068.75,7917.1,0],"Pustoshka","Pustoshka",250,0,0,1,True,[0,0]],
	[[2725.38,5302.9,0],"Zelenogorsk","Zelenogorsk",280,0,1,1,True,[0,0]],
	[[1847.71,2208.71,0],"Kamenka","Kamenka",210,0,1,1,True,[0,0]],
	[[3608.68,2479.81,0],"Komarovo","Komarovo",180,0,1,1,True,[0,0]],
	[[6727.71,2604.9,0],"Tchernogorsk","Tchernogorsk",350,0,1,1,True,[0,0]],
	[[10484.5,2237.15,0],"Elektrozavodsk","Elektrozavodsk",250,0,1,1,True,[0,0]],
	[[10168.4,1896.1,0],"ElektrozavodskHarbor","ElektrozavodskHarbor",250,0,1,1,True,[0,0]],
	[[12069.6,3572.26,0],"Kamyshovo","Kamyshovo",180,0,1,1,True,[0,0]],
	[[13384.3,6245.96,0],"Solnitchniy","Solnitchniy",210,0,1,1,True,[0,0]],
	[[11956.6,9103.79,0],"Berezino","Berezino",230,0,0,1,True,[0,0]],
	[[12264.8,9533.63,0],"BerezinoNorth","BerezinoNorth",230,0,0,1,True,[0,0]],
	[[12930,10104.9,0],"BerezinoHarbor","BerezinoHarbor",250,0,0,1,True,[0,0]],
	[[12251.3,10797,0],"Khelm","Khelm",230,0,0,1,True,[0,0]],
	[[11095.8,12327,0],"Krasnostav","Krasnostav",260,0,0,1,True,[0,0]],
	[[8661.35,11839.9,0],"Gvozdno","Gvozdno",300,0,0,1,True,[0,0]],
	[[6149.61,7762.03,0],"Stary Sobor","StarySobor",270,0,0,1,True,[0,0]],
	[[7102.44,7730.62,0],"Novy Sobor","NovySobor",270,0,0,1,True,[0,0]],
	[[1748.53,3822.07,0],"Pavlovo","Pavlovo",220,0,1,1,True,[0,0]],
	[[4456.96,4699.52,0],"Kozlovka","Kozlovka",220,0,1,1,True,[0,0]],
	[[5905.41,4812.25,0],"Nadezhdino","Nadezhdino",220,0,1,1,True,[0,0]],
	[[7563.08,5091.86,0],"Mogilevka","Mogilevka",240,0,1,1,True,[0,0]],
	[[11326.4,5491.85,0],"Msta","Msta",200,0,1,1,True,[0,0]],
	[[10143.8,5531.66,0],"Staroye","Staroye",230,0,1,1,True,[0,0]],
	[[12145.4,7309.65,0],"Orlovets","Orlovets",200,0,1,1,True,[0,0]],
	[[12899.1,8152.54,0],"Nizhnoye","Nizhnoye",200,0,0,1,True,[0,0]],
	[[10687.2,8045.45,0],"Polana","Polana",210,0,0,1,True,[0,0]],
	[[9568.4,8849.14,0],"Gorka","Gorka",280,0,0,1,True,[0,0]],
	[[5984.12,10303.3,0],"Grishino","Grishino",280,0,0,1,True,[0,0]],
	[[2521.03,9643.29,0],"Lopatino South","LopatinoSouth",80,1,0,1,True,[0,0]],
	[[8127.75,11568.5,0],"Gvozdno Woods","GvozdnoWoods",150,1,0,1,True,[0,0]],
	[[5001.56,12505.2,0],"Petrovka","Petrovka",180,1,0,1,True,[0,0]],
	[[5362.83,8608.91,0],"Kabanino","Kabanino",180,1,0,1,True,[0,0]],
	[[4480.5,6407.22,0],"Podorevka","Podorevka",170,1,1,1,True,[0,0]],
	[[4718.15,6793.14,0],"Rogovo","Rogovo",170,1,1,1,True,[0,0]],
	[[2523.47,6339.12,0],"Sosnovka","Sosnovka",170,1,1,1,True,[0,0]],
	[[1991.79,7391.23,0],"Myshkino","Myshkino",170,1,0,1,True,[0,0]],
	[[3372.24,3944.9,0],"Bor","Bor",170,1,1,1,True,[0,0]],
	[[3376.85,4941.89,0],"Drozhino","Drozhino",170,1,1,1,True,[0,0]],
	[[6544.36,6103.13,0],"Vishnoye","Vishnoye",180,1,1,1,True,[0,0]],
	[[11595.3,12454.3,0],"Krasnostav Highs","KrasnostavHighs",100,1,0,1,True,[0,0]],
	[[7956.48,3330.73,0],"Prigorodki","Prigorodki",240,1,1,1,True,[0,0]],
	[[9158.65,3939.58,0],"Pusta","Pusta",240,1,1,1,True,[0,0]],
	[[12752.9,4442.7,0],"Tulga","Tulga",150,1,1,1,True,[0,0]],
	[[13322.8,5432.07,0],"Three Valley Stop","ThreeValleyBus",100,1,1,1,True,[0,0]],
	[[11207.2,6610.03,0],"Dolina","Dolina",180,1,1,1,True,[0,0]],
	[[6369.98,3241.86,0],"Vysota Village","VysotaVillage",100,1,1,1,True,[0,0]],
	[[9649.97,6536.51,0],"Shakhovka","Shakhovka",170,1,1,1,True,[0,0]],
	[[8459.31,6684.54,0],"Guglovo","Guglovo",200,1,1,1,True,[0,0]],
	[[13316.9,12890.3,0],"Olsha","Olsha",200,1,0,1,True,[0,0]],
	[[9968.04,10393.8,0],"Dubrovka Heights","DubrovkaHeights",170,1,0,1,True,[0,0]],
	[[4964.91,5600.26,0],"Pulkovo","Pulkovo",200,1,1,1,True,[0,0]],
	[[12933.2,6779.7,0],"Solnithniy Highs","SolnithniyHighs",100,1,1,1,True,[0,0]],
	[[12217.4,6277.53,0],"Solnitchniy Valley","SolnitchniyValley",150,1,1,1,True,[0,0]],
	[[10433.9,9809.66,0],"Dubrovka","Dubrovka",240,1,0,1,True,[0,0]],
	[[1714.68,5089.06,0],"Zelenogorsk Farm","ZelenogorskFarm1",100,2,1,1,True,[0,0]],
	[[2705.3,5978.23,0],"Sosnovka Farm","SosnovkaFarm1",80,2,1,1,True,[0,0]],
	[[2592.99,4869.89,0],"Zelenogorsk Farm","ZelenogorskFarm2",80,2,1,1,True,[0,0]],
	[[3697.86,8262.56,0],"Pustoshka Farm","PustoshkaFarm",100,2,0,1,True,[0,0]],
	[[2993.07,6731.21,0],"Sosnovka Farm","SosnovkaFarm1",100,2,1,1,True,[0,0]],
	[[3610.46,6965.03,0],"Sosnovka Farm","SosnovkaFarm2",100,2,1,1,True,[0,0]],
	[[5290.27,10600,0],"Grishino Barn","GrishinoBarn",100,2,0,1,True,[0,0]],
	[[12921,6994.17,0],"Solnitchiy Farm","SolnitchiyFarm",100,2,1,1,True,[0,0]],
	[[6260.88,3784.94,0],"Tchernogorsk Farm","TchernogorskFarm",100,2,1,1,True,[0,0]],
	[[4692.12,10349.2,0],"Air Base","AirBase",150,4,0,1,True,[0,0]],
	[[6873.21,11429.7,0],"Devil's Castle","DevilsCastle",150,4,0,1,True,[0,0]],
	[[6543.45,5589.6,0],"Zub Castle","ZubCastle",80,4,1,1,True,[0,0]],
	[[11255.6,4276.3,0],"Rog Castle","RogCastle",80,4,1,1,True,[0,0]],
	[[2249.66,5198.68,0],"Zelenogorsk Factory","ZelenogorskFactory",100,5,1,1,True,[0,0]],
	[[3712.99,5986.02,0],"Green Mount","GreenMount",80,5,1,1,True,[0,0]],
	[[4175.34,8940.05,0],"Vybor Factory","VyborFactory",80,5,0,1,True,[0,0]],
	[[5683.02,2968.88,0],"Electrical Station","ElectricalStation",80,5,1,1,True,[0,0]],
	[[6228.88,2153.65,0],"Tchernogorsk Factory","TchernogorskFactory2",100,5,1,1,True,[0,0]],
	[[6550.81,2686.13,0],"Tchernogorsk Factory","TchernogorskFactory1",120,5,1,1,True,[0,0]],
	[[7230.62,2235.48,0],"Tchernogorsk Harbor","TchernogorskHarbor",70,5,1,1,True,[0,0]],
	[[10130.3,1821.94,0],"Elektrozavodsk Factory","ElektrozavodskFactory",70,5,1,1,True,[0,0]],
	[[10435.2,2595.2,0],"Elektrozavodsk Central","ElektrozavodskCentral",80,5,1,1,True,[0,0]],
	[[10917.8,2684.42,0],"Elektrozavodsk Harbor","ElektrozavodskHarbor2",120,5,1,1,True,[0,0]],
	[[10338.5,1823,0],"Elektrozavodsk Harbor","ElektrozavodskHarbor1",120,5,1,1,True,[0,0]],
	[[13113.1,7089.3,0],"Solnitchniy Factory","SolnitchniyFactory",130,5,1,1,True,[0,0]],
	[[12745.4,9647.43,0],"Berezino Lumbermill","BerezinoLumbermill",130,5,0,1,True,[0,0]],
	[[13111.8,10236.3,0],"Berezino Harbor","BerezinoHarbor2",80,5,0,1,True,[0,0]],
	[[11464.1,7501.41,0],"Polana Factory","PolanaFactory",80,5,0,1,True,[0,0]],
	[[6292.12,7721.16,0],"Stary Sobor Factory","StarySoborFactory",80,5,0,1,True,[0,0]],
	[[4383.62,2243.12,0],"Balota Harbor","BalotaHarbor",80,5,1,1,True,[0,0]],
	[[13119.2,10425,0],"Berezino Factory","BerezinoFactory",80,5,0,1,True,[0,0]],
	[[3616.84,2172.52,0],"Komarovo Harbor","KomarovoHarbor",80,5,1,1,True,[0,0]],
	[[9622.91,13540.5,0],"Pobeda Dam","PobedaDam",120,5,0,1,True,[0,0]],
	[[4015.54,11637.1,0],"Bashnya Clearing","BashnyaClearing",120,6,0,1,True,[0,0]],
	[[4638.97,11890.6,0],"Petrovka Fields","PetrovkaFields",120,6,0,1,True,[0,0]],
	[[1271.13,13468.8,0],"Grozovoy Pass","GrozovoyPass1",120,6,0,1,True,[0,0]],
	[[646.676,13849,0],"Grozovoy Pass","GrozovoyPass2",120,6,0,1,True,[0,0]],
	[[2028.92,9790.05,0],"Lopatino Fields","LopatinoFields",120,6,0,1,True,[0,0]],
	[[1159.45,7657.85,0],"Myshkino Valley","MyshkinoValley",120,6,0,1,True,[0,0]],
	[[6962.48,8836.95,0],"Old Fields","OldFields",300,6,0,1,True,[0,0]],
	[[8244.88,5927.12,0],"Kumyrna","Kumyrna",120,6,1,1,True,[0,0]],
	[[7105.89,3287.92,0],"Tchernorgorsk Fields","TchernorgorskFields",120,6,1,1,True,[0,0]],
	[[1561.18,4892.78,0],"Old Camp","OldCamp",120,7,1,1,True,[0,0]],
	[[4900.61,5043.08,0],"Kustryk Forest","KustrykForest",120,7,1,1,True,[0,0]],
	[[1799.49,6204.82,0],"Sosnovka Forest","SosnovkaForest",120,7,1,1,True,[0,0]],
	[[7935.58,3899.23,0],"Kopyto Forest","KopytoForest",120,7,1,1,True,[0,0]],
	[[10575.9,3073.26,0],"Dobryy Forest","DobryyForest",120,7,1,1,True,[0,0]],
	[[6930.82,4910.08,0],"Small Hill Forest","SmallHillForest",120,7,1,1,True,[0,0]],
	[[9184.85,7902.62,0],"Black Forest","BlackForest",300,7,0,1,True,[0,0]],
	[[11176.7,8559,0],"Dubina Forest","DubinaForest",200,7,0,1,True,[0,0]],
	[[10583.1,12948,0],"Ostry Forest","OstryForest1",300,7,0,1,True,[0,0]],
	[[11046.5,13562.8,0],"Ostry Forest","OstryForest2",300,7,0,1,True,[0,0]],
	[[11169.1,2480.73,0],"Drakon","Drakon",120,9,1,1,True,[0,0]],
	[[11641.8,3176.97,0],"Otmel","Otmel",120,9,1,1,True,[0,0]],
	[[13483.8,2888.88,0],"Skalisty","Skalisty",250,9,1,1,True,[0,0]],
	[[11492,11323,0],"Klen Mount","KlenMount",150,10,0,1,True,[0,0]],
	[[10274.8,12027.1,0],"Black Mount","BlackMount",150,10,0,1,True,[0,0]],
	[[8156.24,9101.41,0],"Autel","Autel",120,10,0,1,True,[0,0]],
	[[12900.6,12746.3,0],"Olsha Mount","OlshaMount",120,10,0,1,True,[0,0]],
	[[14221,14293.6,0],"North Mount","NorthMount",120,10,0,1,True,[0,0]],
	[[8994.52,4371.11,0],"Vysoky Kamen","VysokyKamen",120,10,1,1,True,[0,0]],
	[[8866.73,2872.92,0],"Kozlova Peak","KozlovaPeak",120,10,1,1,True,[0,0]],
	[[13018.7,5965.98,0],"Solnitchniy Mount","SolnitchniyMount",120,10,1,1,True,[0,0]],
	[[6597.23,3413.69,0],"Vysota","Vysota",120,10,1,1,True,[0,0]],
	[[12103.7,12712,0],"Krasnostav Airport","KrasnostavAirport",150,11,0,1,True,[0,0]],
	[[4474.43,10689.3,0],"AirBase Airport","AirBaseAirport1",150,11,0,1,True,[0,0]],
	[[4839.16,10054.4,0],"AirBase Airport","AirBaseAirport2",150,11,0,1,True,[0,0]],
	[[],"","",0,-1,0,0,False,[0,0]] // Just to end the array. Allows to copy/paste above without thinking of commas. The -1 will get it filtered out anyway
];

d_town_markers = [
	[[2733.7,5306.05,0],"Zelenogorsk",300], // 0
	[[6728.4,2590.29,0],"Chernogorsk",300], // 1
	[[10269.5,2110.25,0],"Elektrozavodsk",300], // 2
	[[11146.5,12302.7,0],"Krasnostav",300], // 3
	[[11950.00,9138.00,0],"Berezino",300], // 4
	[[6147.54,7757.34,0],"Stary Sobor",300], // 5
	[[3814.73,8901.37,0],"Vybor",300], // 6
	[[7555.26,5149.45,0],"Mogilevka",300], // 7
	[[10680.4,8054.11,0],"Polana",300], // 8
	[[10412.8,9768.09,0],"Dubrovka",300], // 9
	[[9548.47,8846.42,0],"Gorka",300], // 10
	[[13381.5,6254.74,0],"Solnichniy",300], // 11
	[[10118.6,5521.33,0],"Staroye",300], // 12
	[[1697.54,3847.5,0],"Pavlovo",300], // 13
	[[3075.33,7916.48,0],"Pustoschka",300], // 14
	[[12971.1,10109.1,0],"Berezino Harbour",300], // 15
	[[9178.31,3870.64,0],"Pusta",300], // 16
	[[4741.96,6799.19,0],"Rogovo",300], // 17
	[[4393.77,4606.03,0],"Kozlovka",300], // 18
	[[1828.09,2249.49,0],"Kamenka",300], // 19
	[[8659.28,11840.9,0],"Gvozdno",300], // 20
	// From here begin the smaller villages
	[[11283.6,5469.29,0],"Msta",150], // 21
	[[6013.7,10333.7,0],"Grishino",250], // 22
	[[12061.2,3536.89,0],"Kamyshovo",180], // 23
	[[12960.5,8158.62,0],"Nizhnoye",200], // 24
	[[2760.6,9959.12,0],"Lopatino",150], // 25
	[[5328.43,8568.63,0],"Kabanino",150], // 26
	[[4986.52,12516,0],"Petrovka",100], // 27
	[[12152.00,7290.00,0],"Orlovets",150], // 28
	[[11201.00,6563.00,0],"Dolina",120], // 29
	[[12312.00,9561.00,0],"BerezinoNorth",300], // 30
	[[12730.00,9533.00,0],"BerezinoLumbermill",170], // 31
	[[12306.00,10784.00,0],"Khelm",250], // 32
	[[13360,12878,0],"Olsha",80], // 33
	[[0,0,0],"",0] // Just to end the array.
];

d_landmark_markers = [
	[[1325.32,13451,0],"Grozovoy Pass",100], // 0
	[[13379.3,5429.57,0],"SolnitchniyBus",100], // 1
	[[13116.2,7078.24,0],"SolnitchniyFactory",180], // 2
	[[13476.5,3333.8,0],"SkalistyRadio",100], // 3
	[[13379.2,2773.92,0],"SkalistyHarbor",100],  // 4
	[[6897.31,11436.3,0],"Devil's Castle",100], // 5
	[[6541.93,5596.57,0],"Zub Castle",50], // 6
	[[3716.59,5986.17,0],"Green Mount Tower",50], // 7
	[[11256.5,4282.71,0],"Rog Castle",70], // 8
	[[11467.9,7480.81,0],"Polana Factory",90], // 9
	[[10280,12035,0],"Black Mount",70], // 10
	[[3895.5,4175.15,0],"Windy Mount",50], // 11
	[[4542.43,3142.62,0],"Balota Radio",50], // 12
	[[6570,3412,0],"Vysota Comm Tower",50], // 13
	[[12057,12695,0],"Krasnostav Airbase",200], // 14
	[[9632,13540,0],"Pobeda Dam",200], // 15
	[[0,0,0],"",0] // Just to end the array.
];

if (isnil "d_all_ammoboxes") then { d_all_ammoboxes = []; };
_cher_boxes = [];
if (count _cher_boxes > 0) then {d_all_ammoboxes = [d_all_ammoboxes, _cher_boxes] call XfarrayPushStack};

// If you want to change from the default:
// d_vehicle_drop_box = "RUOrdnanceBox";

// If you want to change from the default:
// d_air_drop_box = "RUOrdnanceBox";

// If you want to change from the default:
// d_default_ammo_box = "RUOrdnanceBox";

// If you want to change from the default:
// d_the_base_box = "RUOrdnanceBox";

// If you want to change from the default:
// The MG Nest that MG units can create
// if (d_with_mgnest && isnil "d_mg_nest") then {
	// d_mg_nest = (switch (d_own_side) do {
		// case "GUER": {"GUE_WarfareBMGNest_PK"};
		// case "WEST": {"USMC_WarfareBMGNest_M240"};
		// case "EAST": {"RU_WarfareBMGNest_PK"};
	// });
// };

// If you want to change from the default:
// The AA Pod that AT units can create
// if (d_with_aapod && isnil "d_with_aapod") then {
	// d_aa_pod = (switch (d_own_side) do {
		// case "GUER": {"Igla_AA_pod_East"};
		// case "WEST": {"Stinger_Pod"};
		// case "EAST": {"Igla_AA_pod_East"};
	// });
// };

// If you want to change from the default:
// if (isnil "x_drop_array") then {
	// x_drop_array = (switch (d_own_side) do {
			// case "GUER": {[["Drop DSHKM", "Offroad_DSHKM_Gue","Mi17_Civilian"], ["Drop SPG9","Offroad_SPG9_Gue","Mi17_Civilian"], ["Drop Ammo", d_air_drop_box,"Mi17_Civilian"]]};
			// case "WEST": {[["Drop HMMWV", "HMMWV_Armored","MV22"], ["Drop Avenger","HMMWV_Avenger","MV22"], ["Drop Ammo", d_air_drop_box,"MV22"]]};
			// case "EAST": {[["Drop UAZ MG", "UAZ_MG_INS","Mi17_CDF"], ["Drop SPG9","UAZ_SPG9_INS","Mi17_CDF"], ["Drop Ammo", d_air_drop_box,"Mi17_CDF"]]};
		// });
// };

d_air_transport_h_E = ["Mi17_rockets_RU"];
d_air_transport_h_W = ["MH60S"];
d_air_transport_h_G = ["Mi17_Civilian"];
d_air_support_h_E = ["Ka52","Ka52Black","Mi24_P","Mi24_V"];
d_air_support_h_W = ["AH1Z","AH64D"];
d_air_support_h_G = ["Mi17_rockets_RU"];
d_air_support_p_E = ["Su34","Su39"];
d_air_support_p_W = ["A10","AV8B2","AV8B","F35B"];
d_air_support_p_G = ["Mi17_rockets_RU"];

// position base, a,b, angle,  for the enemy at base trigger and marker
d_base_array = [[4940.57,2402.42,0],130,400,-60];

// position and direction of the AI HUT
d_pos_ai_hut = [[4671.4,10203.9,0],325];
// position and direction of the AI Spawn
d_pos_ai_spawn = [[4665.1,10208.3,0.01],325];
// Position and directions of the AI Vehicle Spawn
d_pos_ai_vehicle_spawn = [[4153.56,10963.9,0],0];
// Position of the Anti Air Radar
d_pos_antiairradar = [[4281.9,10535.6,0],200];

if (isnil "d_civilians_t") then { d_civilians_t = []; };
_cher_civ = [];
if (count _cher_civ > 0) then {d_civilians_t = [d_civilians_t, _cher_civ] call XfarrayPushStack};

///
///      =============    OLD DEPRECATED    =============
///
// d_map_locations = [
	// [[2733.7,5306.05,0],"Zelenogorsk","Zelenogorsk",300,0,0,1,False,[0,0]],
	// [[6728.4,2590.29,0],"Chernogorsk","Chernogorsk",300,0,0,1,False,[0,0]],
	// [[10269.5,2110.25,0],"Elektrozavodsk","Elektrozavodsk",300,0,0,1,False,[0,0]],
	// [[11146.5,12302.7,0],"Krasnostav","Krasnostav",300,0,0,1,False,[0,0]],
	// [[11950.00,9138.00,0],"Berezino","Berezino",300,0,0,1,False,[0,0]], 
	// [[12971.1,10109.1,0],"Berezino Harbour","BerezinoHarbour",300,0,0,1,False,[0,0]],
	// [[12312.00,9561.00,0],"North Berezino","BerezinoNorth",300,0,0,1,False,[0,0]],
	// [[6147.54,7757.34,0],"Stary Sobor","StarySobor",300,0,0,1,False,[0,0]], 
	// [[3814.73,8901.37,0],"Vybor","Vybor",300,0,0,1,False,[0,0]],
	// [[7555.26,5149.45,0],"Mogilevka","Mogilevka",300,0,0,1,False,[0,0]],
	// [[10680.4,8054.11,0],"Polana","Polana",300,0,0,1,False,[0,0]],
	// [[10412.8,9768.09,0],"Dubrovka","Dubrovka",300,0,0,1,False,[0,0]],
	// [[9548.47,8846.42,0],"Gorka","Gorka",300,0,0,1,False,[0,0]],
	// [[13381.5,6254.74,0],"Solnichniy","Solnichniy",300,0,0,1,False,[0,0]],
	// [[10118.6,5521.33,0],"Staroye","Staroye",300,0,0,1,False,[0,0]],
	// [[1697.54,3847.5,0],"Pavlovo","Pavlovo",300,0,0,1,False,[0,0]],
	// [[3075.33,7916.48,0],"Pustoschka","Pustoschka",300,0,0,1,False,[0,0]],
	// [[9178.31,3870.64,0],"Pusta","Pusta",300,0,0,1,False,[0,0]],
	// [[4741.96,6799.19,0],"Rogovo","Rogovo",300,0,0,1,False,[0,0]],
	// [[4393.77,4606.03,0],"Kozlovka","Kozlovka",300,0,0,1,False,[0,0]],
	// [[1828.09,2249.49,0],"Kamenka","Kamenka",300,0,0,1,False,[0,0]],
	// [[8659.28,11840.9,0],"Gvozdno","Gvozdno",300,0,0,1,False,[0,0]],
	// // From here begin the smaller villages
	// [[11283.6,5469.29,0],"Msta","Msta",150,1,0,1,False,[0,0]],
	// [[6013.7,10333.7,0],"Grishino","Grishino",250,1,0,1,False,[0,0]],
	// [[12061.2,3536.89,0],"Kamyshovo","Kamyshovo",180,1,0,1,False,[0,0]],
	// [[12960.5,8158.62,0],"Nizhnoye","Nizhnoye",200,1,0,1,False,[0,0]],
	// [[2760.6,9959.12,0],"Lopatino","Lopatino",150,1,0,1,False,[0,0]],
	// [[5328.43,8568.63,0],"Kabanino","Kabanino",150,1,0,1,False,[0,0]],
	// [[4986.52,12516,0],"Petrovka","Petrovka",100,1,0,1,False,[0,0]],
	// [[13379.2,2773.92,0],"Skalisty Harbor","SkalistyHarbor",100,9,0,1,False,[0,0]],
	// [[12152.00,7290.00,0],"Orlovets","Orlovets",150,1,0,1,False,[0,0]],
	// [[11201.00,6563.00,0],"Dolina","Dolina",120,1,0,1,False,[0,0]],
	// [[12306.00,10784.00,0],"Khelm","Khelm",250,1,0,1,False,[0,0]],
	// [[13360,12878,0],"Olsha","Olsha",80,1,0,1,False,[0,0]],
	// // From here begin the special locations
	// [[12730.00,9533.00,0],"Berezino Lumbermill","BerezinoLumbermill",170,5,0,1,False,[0,0]],
	// [[1325.32,13451,0],"Grozovoy Pass","GrozovoyPass",100,6,0,1,False,[0,0]],
	// [[13379.3,5429.57,0],"Solnitchniy Busstop","SolnitchniyBus",100,3,0,1,False,[0,0]],
	// [[13116.2,7078.24,0],"Solnitchniy Factory","SolnitchniyFactory",180,5,0,1,False,[0,0]],
	// [[13476.5,3333.8,0],"Skalisty Tower","SkalistyRadio",100,3,0,1,False,[0,0]], 
	// [[6897.31,11436.3,0],"Devil's Castle","DevilCastle",100,3,0,1,False,[0,0]],
	// [[6541.93,5596.57,0],"Zub Castle","ZubCastle",50,3,0,1,False,[0,0]],
	// [[3716.59,5986.17,0],"Green Mount Tower","GreenMountTower",50,3,0,1,False,[0,0]], 
	// [[11256.5,4282.71,0],"Rog Castle","RogCastle",70,3,0,1,False,[0,0]],
	// [[11467.9,7480.81,0],"Polana Factory","PolanaFactory",90,5,0,1,False,[0,0]],
	// [[10280,12035,0],"Black Mount","BlackMount",70,3,0,1,False,[0,0]],
	// [[3895.5,4175.15,0],"Windy Mount","WindyMount",50,7,0,1,False,[0,0]],
	// [[4542.43,3142.62,0],"Balota Radio","BalotaRadio",50,3,0,1,False,[0,0]],
	// [[6570,3412,0],"Vysota Comm Tower","VysotaTower",50,3,0,1,False,[0,0]],
	// [[12057,12695,0],"Krasnostav Airbase","KrasnostavBase",200,4,0,1,False,[0,0]],
	// [[9632,13540,0],"Pobeda Dam","PobedaDam",200,2,0,1,False,[0,0]],
	// [[],"","",0,-1,0,0,False,[0,0]] // Just to end the array. Allows to copy/paste above without thinking of commas. The -1 will get it filtered out anyway
// ];

